<?php 
	require_once('../Connections/cnx_pizzeta.php'); 
	if (isset($_POST["IdNoticia"])){
		  $sql = " DELETE FROM noticias WHERE IdNoticia =".$_POST["IdNoticia"];
		  mysql_select_db($database_cnx_pizzeta, $cnx_pizzeta);
		  $Result1 = mysql_query($sql, $cnx_pizzeta) or die(mysql_error().$sql);
		  echo mysql_affected_rows()."|".$sql;
	}else{
		echo "-1|Parametros incorrectos";
	}
?>